import NewDepartmentGroupComp from "containers/setting/department-group/new-department-group";
import DepartmentGroupDetailComp from "containers/setting/department-group/department-group-detail";
import DepartmentGroupComp from "containers/setting/department-group/department-group";

// 部门组
const DepartmentGroupMenu =   {
  key: 'department-group',
  url: '/main/setting/department-group',
  components: DepartmentGroupComp,
  parent: 'setting',
  tenant: true,
  oldCompany: 'NEW_ONLY',
  children: {
    // 新建部门组
    newDepartmentGroup: {
      key: 'new-department-group',
      url: '/main/setting/department-group/new-department-group',
      components: NewDepartmentGroupComp,
      parent: "department-group"
    },
    // 编辑部门组
    editDepartmentGroup: {
      key: 'edit-department-group',
      url: '/main/setting/department-group/edit-department-group/:id',
      components: NewDepartmentGroupComp,
      parent: "department-group"
    },
    // 部门组详情
    departmentGroupDetail: {
      key: 'department-group-detail',
      url: '/main/setting/department-group/department-group-detail/:id',
      components: DepartmentGroupDetailComp,
      parent: 'department-group'
    }
  }
};
export default DepartmentGroupMenu;
